package services;

import domain.Topic;

import java.util.List;

/**
 * 新闻类型接口
 */
public interface TopicServices {
    public List<Topic> getAllTopic();
    public int deleteTopicByTid(int tid);
    public int modifyTopicByTid(int tid,String tname);
    public int addTopic(String tname);
    public int countTopic();
}
